package one.bugu.android.demon.constant;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Date: 2017/12/6
 * Time: 9:50
 * Description: 网络参数常量
 */
public interface HttpConstant {

/////////////////////////////////////////////////////////////////////////////////
    /**
     * 后台连接本地测试专用
     */

//    String BASE_IP = "http://192.168.2.201:";
//    String SNATCH_URL = BASE_IP + "20060";    //基础
//    String WALLET_URL = BASE_IP + "20050";    //钱包
//    String H5_URL = BASE_IP + "10080";    //H5
//    String USER_URL = H5_URL;
//    String FUND_URL = WALLET_URL;


////////////////////////////////////////////////////////////////////////////////
    /**
     * 基础路径
     */
//    测试环境
    String USER_URL = "http://testbgadmin.3yx.cn:8088"; //基础
    String FUND_URL = "http://testfund.3yx.cn:8088"; //钱包
    String SNATCH_URL = "http://testsnatch.3yx.cn:8088"; //抢购

    //生产环境
//    String USER_URL = "https://bb.eqka.com";  //基础
//    String FUND_URL = "https://fund.eqka.com"; //钱包
//    String SNATCH_URL = "https://snatch.eqka.com"; //抢购

    /**
     * 首页数据
     */
    String INDEX_URL = USER_URL + "/appFocusConfig/indexDataList";
    /**
     * 自选管理
     */
    String MANAGER_URL = USER_URL + "/appFocusConfig/dataList";
    /**
     * 移除自选币
     */
    String DELETE_URL = USER_URL + "/appFocusConfig/delFocusConfig";
    /**
     * 搜索币
     */
    String SOUSUO_URL = USER_URL + "/appCoin/searchDataListForApp";
    /**
     * 获取平台/币列表
     */
    String GET_PLATFROM_URL = USER_URL + "/baseType/selectApp";
    /**
     * 获取农场首页
     */
    String GET_FARM_URL = USER_URL + "/appGrant/getGrantNum";
    /**
     * 领取BGT
     */
    String GET_FARM_BGT_URL = USER_URL + "/appSmsLog/getBgt";
    /**
     * 获取图片验证码
     */
    String GET_CAP_CODE = USER_URL + "/getCaptcha";
    /**
     * 获取币列表通过平台
     */
    String GET_COIN_BY_PLATFROM_URL = USER_URL + "/appCoin/dataList";
    /**
     * 添加自选币
     */
    String ADD_URL = USER_URL + "/appCoin/dataList";
    /**
     * 获取最新价格
     */
    String GETNEWPRICE_URL = USER_URL + "/appCoinData/getCoinMarketInfo";

    /**
     * 获取用户短信通知条数
     */
    String GETUSERNUM_URL = USER_URL + "/appUser/getUserSmsNum";

    /**
     * 检查是否绑定微信
     */
    String CHECK_WECHAT_URL = USER_URL + "/appLoginBanding/checkUserIsExist";
    /**
     * 获取汇率
     */
    String GETRATE_URL = USER_URL + "/appCoinData/getRMBRate";

    /**
     * 根据平台添加币
     */
    String ADDBI_URL = USER_URL + "/appFocusConfig/addFocusConfig";

    /**
     * 设置预警
     */
    String SETWARN_URL = USER_URL + "/appWarnConfig/setWarnConfig";

    /**
     * 按类型获取短信、语音操作记录
     */
    String BGT_URL = USER_URL + "/appSmsLog/getSmsOptLogByType";

    /**
     * 获取价格
     */
    String GETPRICE_URL = USER_URL + "/appWarnConfig/getWarnConfigDetail";

    /**
     * 手机登录
     */
    String LOGIN_URL = USER_URL + "/appLogin/smsLoginV2";

    /**
     * 获取验证码
     */
    String GETYZM_URL = USER_URL + "/sms/sendCaptchaSms";

    /**
     * 邀请码
     */
    String INVITECODE_URL = USER_URL + "/appLogin/bandingInviteCode";

    /**
     * 用户数量
     */
    String REGNUM_URL = USER_URL + "/appUser/getRegNum";

    /**
     * 保存用户反馈
     */
    String SAVEFK_URL = USER_URL + "/appFeedback/saveUserFeedback";

    /**
     * 邀请
     */
    String INVID_URL = USER_URL + "/view/h5/inviteFriend.html?appType=android";
    /**
     * 关注公众号
     */
    String FOVAR_URL = USER_URL + "/view/h5/AttentionWechat.html?appType=android";

    /**
     * 农场手册
     */
    String FRAMMANUAL_URL = USER_URL + "/view/h5/shouce.html?appType=android";

    /**
     * 用户协议
     */
    String PROTOCOL_URL = USER_URL + "/view/h5/UserAgreement.html";
    String APPID = "3";
    /**
     * 版本更新
     */
    String CHECK_DEAL = USER_URL + "/appVersion/checkUpgrade";

    /**
     * 检测用户是否已存在
     */
    String CHECKEDUSER_URL = USER_URL + "/appUser/checkPhoneIsExist";

    /**
     * 退出登录
     */
    String ESCLOGIN_URL = USER_URL + "/appLogin/recLogout";

    /**
     * 用户资金详情
     */
    String GETUSERWALLET_URL = FUND_URL + "/appUserFund/getUserFundDetail";

    /**
     * 获取用户可领取BGT
     */
    String GETUSERCANGETBGT_URL = USER_URL + "/appUser/getGrantNum";
    /**
     * 获取兑换商品
     */
    String GETGOODS_URL = USER_URL + "/appGoods/getGoods";
    /**
     * 虚拟币兑换商品
     */
    String GETGOODS_BGT_URL = USER_URL + "/appGoods/exchangeBgt";
    /**
     * 获取任务列表
     */
    String GETTASKSTATE_URL = USER_URL + "/appTaskLog/getTaskState";
    /**
     * 关注公众号
     */
    String WEIXIN_URL = USER_URL + "/view/h5/FollowAccount.html";
    /**
     * 添加客服微信
     */
    String ADD_WEIXIN_URL = USER_URL + "/view/h5/AddserveWeChat.html";
    /**
     * 算力秘籍
     */
    String SUANLI_URL = USER_URL + "/view/h5/cheats.html";
    /**
     * BGT/ETH数据转换
     */
    String WALLET_CONFIG = USER_URL + "/appPropsConfig/getInfo";
    /**
     * 获取消息
     */
    String MESSAGE_URL = USER_URL + "/appUserMsgLog/getMsgLog";
    /**
     * 签到
     */
    String GET_SIGN_IN_URL = USER_URL + "/appSignIn/signIn";
    /**
     * 获取用户钱包信息
     */
    String GET_USER_WALLET = FUND_URL + "/appFundUserWallet/getUserWallet";

    /**
     * 夺宝首页列表数据
     */
    String GET_SNATCH_PERIOD = SNATCH_URL + "/appPeriodData/getSnatchPeriod";

    /**
     * 提交订单 snatchGoods
     */
    String SNATCH_GOODS = SNATCH_URL + "/appOrder/snatchGoods";
    /**
     * 订单支付
     */
    String PAY_ORDER = SNATCH_URL + "/appOrder/payOrder";
    /**
     * 修改分享状态
     */
    String CHANGE_SHARE_STATUS = SNATCH_URL + "/appOrder/updataShare";
    /**
     * 夺宝记录
     */
    String GET_SNATCH_PERIOD_RECORD = SNATCH_URL + "/appPeriodData/getSnatchPeriodForUser";
    /**
     * 夺宝入口显示控制
     */
    String SNATCH_VISIABLE_STATUS = USER_URL + "/appSignIn/getActivityFlag";
    /**
     * 中奖公告（跑马灯）
     */
    String WINNING_ACCOUNTMENT = SNATCH_URL + "/appPeriodData/getLuckyUserLast";

    /**
     * 订单详情页面H5地址
     */
    String ORDER_H5_URL = USER_URL + "/view/h5/app/snatchactive/orderdetail.html";
    /**
     * 夺宝详情页H5地址
     */
    String SNATCH_DETAILS_H5_URL = USER_URL + "/view/h5/app/snatchactive/activedetail.html";
    /**
     * 活动期间邀请好友
     */
    String SNATCH_INVITE_H5_URL = USER_URL + "/view/h5/app/snatchactive/shareyqk.html";
    /**
     * 要分享出去的分享链接
     */
    String SHARE_H5_URL = USER_URL;
    /**
     * 参加活动分享地址
     */
    String JOIN_H5_URL = USER_URL + "/view/h5/app/snatchactive/sharedetail.html?code=";
    /**
     * 提现接口
     */
    String WALLET_CHARGE = FUND_URL + "/appDrawOrder/applyDraw";
    /**
     * 获取手续费接口
     */
    String GET_PROCEDURE = FUND_URL + "/appDrawFee/getDrawFee";

    /**
     * 获取链接地址
     */
    String GET_THIRD_URL = USER_URL + "/appTeamLog/getTeamPath";
    /**
     * 获取游戏页面
     */
    String THIRD_GAME_URL = USER_URL + "/view/h5/app/shdw/gamelist.html";
    /**
     * 领取活动算力
     */
    String DRAW_AWARD = USER_URL + "/appTeamLog/drawAward";

    /**
     * 获取微信信息
     */
    String WEIXIN_LOGIN = USER_URL + "/appLogin/wechatLogin";

    /**
     * 绑定手机号
     */
    String BOUND_TEL = USER_URL + "/appUser/savePhone";

    /**
     * 分红
     */
    String PROFIT_ETH = FUND_URL + "/appFundUserAllotProfit/getFundUserProfit";
    /**
     * 获取魔法算力商品列表
     */
    String MAGIC_CAL_SHOP = USER_URL + "/appMagicPowerGoods/getGoodsList";
    /**
     * 获取魔法算力订单列表
     */
    String MAGIC_CAL_ORDER = USER_URL + "/appMagicPowerOrder/getOrderList";
    /**
     * 购买魔法算力
     */
    String MAGIC_CAL_BUY = USER_URL + "/appMagicPowerOrder/buyMagicPower";
    /**
     * 获取商品价格
     */
    String MAGIC_CAL_PRICE = USER_URL + "/appMagicPowerGoods/getGoodsPrice";

    /**
     * 充值H5地址
     */
    String RECHARGE_H5_URL = USER_URL + "/view/h5/app/recharge/rechargesubmit.html";
    /**
     * 充值查询
     */
    String RECHARGE_QUERY_H5_URL = USER_URL + "/view/h5/app/recharge/rechargelist.html";

    /**
     * 邀请下载链接
     */
    String INVITE_H5_URL = USER_URL + "/view/h5/freeregister.html";

    /**
     * 图标地址
     */
    String BASE_IMAGE_URL = "http://192.168.2.201:10080/flowIcon/%s.png";

    /**
     * 算力头衔领取
     */
    String GET_CAL_MEDAL = USER_URL + "/appTitleLevelGetLog/getPowerTitle";
}
